package www.guigu.com.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import www.guigu.com.dao.Queryalldao;
import www.guigu.com.pojo.Houtai;
import www.guigu.com.service.Queryalldaoservice;
@Service
public class Queryallserviceimpl implements Queryalldaoservice {
    @Autowired
    private Queryalldao queryalldao;

    @Override
    public Houtai login(String zh, String mm) {
        Houtai hh=new Houtai();
        hh.setMm(mm);
        hh.setZh(zh);
        Houtai zz=queryalldao.login(hh);
        System.out.println(zz+"狗比");
        return zz;
    }
}
